// 无需授权的路由
import type { RouteRecordRaw } from 'vue-router'

const noCheckRoutes: Array<RouteRecordRaw> = [
  { path: '/', redirect: '/dashboard' },
  { path: '/login', component: () => import('@/views/login/index.vue') },
  {
    path: '/:pathMatch(.*)*',
    component: () => import('@/views/404/index.vue')
  }
]

export default noCheckRoutes
